﻿using System.ComponentModel;
using System.Windows;
using Blackbird.Core.Editable.Frames;
using Blackbird.Core.Editable.Sprites;
using Blackbird.Studio.Mvvm;

namespace Blackbird.Studio.ViewModel.EntityViewModels {
    public class EditableMultispriteViewModel :
        EntityCollectionViewModel<EditableMultisprite, EditableFramesetList, EditableFramesetListViewModel>,
        IEntityCollectionViewModel {
        
        [DependentProperty("IsSelected")]
        public Visibility Visibility { get { return IsSelected ? Visibility.Visible : Visibility.Collapsed; } }
        
        public EditableMultispriteViewModel(EditableMultisprite model)
            : base(model) {
        }

        #region IEntityCollectionViewModel Members

        public override EntityType EntityType {
            get { return EntityType.MultiSprite; }
        }

        #endregion

    }
}